﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Course.aspx.cs" Inherits="e_TeachNext.Course" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>e-TeachNext</title>
    <style type="text/css">
        .auto-style1 {
            width: 134px;
        }
        .auto-style2 {
            width: 235px;
        }
        .auto-style3 {
            width: 134px;
            height: 23px;
        }
        .auto-style4 {
            width: 235px;
            height: 23px;
        }
        .auto-style5 {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="frmCourse" runat="server">
    <div style="margin: 0 auto; height:auto; width: 720px; border: 2px solid #d018b6;">            
        <table style="width:100%;">
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">
                    <h2>Wellcome,
                        <asp:Label ID="lblUserID" runat="server" Text="[lblUserID]"></asp:Label>
                        &nbsp;</h2>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">Registration Number:
                    <asp:Label ID="lblStudentNo" runat="server" Text="[lblStudentNo]"></asp:Label>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">Choose Course :</td>
                <td>
                    <asp:DropDownList ID="ddlCourse" runat="server" Height="16px" Width="182px" OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged" AutoPostBack="True">
                        <asp:ListItem Value="0">Select</asp:ListItem>
                        <asp:ListItem>HDSE</asp:ListItem>
                        <asp:ListItem Value="CCNA">CCNA</asp:ListItem>
                        <asp:ListItem>Top - Up</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">Courses :</td>
                <td>
                    <asp:Label ID="lblFee" runat="server" Text="[lblFee]"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">Course Duration :</td>
                <td>
                    <asp:Label ID="lblDuration" runat="server" Text="[lblDuration]"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">Choose StartDate :</td>
                <td>
                    <asp:TextBox ID="txtStartDate" runat="server" Width="174px"></asp:TextBox>
                    <asp:LinkButton ID="lbtnShowCalendar" runat="server" OnClick="lbtnShowCalendar_Click" CausesValidation="False">Show Calendar</asp:LinkButton>
                    <asp:RequiredFieldValidator ID="valStartDate" runat="server" ControlToValidate="txtStartDate" ErrorMessage="Please choice the start date" ForeColor="Red">*</asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style2">&nbsp;</td>
                <td>
                    <asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged" Visible="False"></asp:Calendar>
                </td>
            </tr>
            <tr>
                <td class="auto-style3"></td>
                <td class="auto-style4">
                    <asp:Button ID="btnOK" runat="server" Text="OK" Width="70px" OnClick="btnOK_Click" />
                </td>
                <td class="auto-style5">
                </td>
            </tr>
        </table>
        <br />
    </div>
    </form>
</body>
</html>
